import { defineConfig } from '@rslib/core';

export default defineConfig({
  lib: [
    {
      format: 'esm',
      bundle: false,
      syntax: ['es6'],
      dts: { autoExtension: false }
    },
    {
      format: 'cjs',
      bundle: false,
      syntax: ['es6'],
      dts: { autoExtension: false }
    },
  ],
  source: {
    tsconfigPath: './tsconfig.build.json',
    entry: {
      index: [
        "packages/*/src"
      ]
    }
  }
});
